/**
 * 2025/01/01 - 2025/12/31
 */
package com.snail.server.database.engine.ddl.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.Getter;
import lombok.ToString;

/**
 *
 * @author zgadmin
 * @date 2025/8/28 16:32
 *
 */
@Getter
@ToString
public enum DDLTypeEnum implements IEnum<Integer> {

    TEXT(1, "database"),
    LONG_TEXT(2, "表"),
    INT(3, "字段"),
    BIGINT(4, "索引"),
    ;

    private final Integer value;

    private final String desc;

    DDLTypeEnum(Integer value, String desc){
        this.value = value;
        this.desc = desc;
    }

}